home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 47 / PC Gamer IT CD 47 2-2.iso / Hype / HYPEDEMO.EXE / Sound / M_Intro_Conclusion.csb < prev    next >
Text File  |  1999-07-26  |  5KB  |  179 lines

  1. ;  SND XXX
  2. ;  Sound Script Saver ( CPA Compatible)
  3. ;  (c) Ubi Sound Studio 1998
  4.  
  5. {CsbHeader:
  6.      SetNextFreeResourceId[%lu](4)
  7.      SetNextFreeEventId[%lu](2)
  8.      VersionNumber(390)
  9.      ScriptVersion(1)
  10.      SNDLibraryVersion(Moteur sonore ACP - Version M5.7.5)
  11.      SetEventGroupType(EVTGRP_GENERAL)
  12. }
  13.  
  14.  
  15. {SndEventE:0(M_Intro_Conclusion.csb^SndEventM:0)
  16.      SetName(Play_Intro)
  17.      SetParam1(M_Intro_Conclusion.csb^SndResourceE:0)
  18. }
  19.  
  20. {SndEventE:1(M_Intro_Conclusion.csb^SndEventM:1)
  21.      SetName(Stop_Intro)
  22.      SetParam1(M_Intro_Conclusion.csb^SndEventE:0)
  23. }
  24.  
  25. {SndResourceE:0(M_Intro_Conclusion.csb^SndResourceM:0)
  26.      SetName(Intro)
  27.      SetComment()
  28.      {SndThemePartListE:
  29.           {SndThemePartE:0
  30.                LoadResource(M_Intro_Conclusion.csb^SndResourceE:3)
  31.           }
  32.           {SndThemePartE:1
  33.                LoadResource(M_Intro_Conclusion.csb^SndResourceE:1)
  34.           }
  35.           {SndThemePartE:2
  36.                LoadResource(M_Intro_Conclusion.csb^SndResourceE:2)
  37.           }
  38.      }
  39. }
  40.  
  41. {SndResourceE:1(M_Intro_Conclusion.csb^SndResourceM:1)
  42.      SetName(Uintrolp)
  43.      SetComment()
  44. }
  45.  
  46. {SndResourceE:2(M_Intro_Conclusion.csb^SndResourceM:2)
  47.      SetName(Umag1b1)
  48.      SetComment()
  49. }
  50.  
  51. {SndResourceE:3(M_Intro_Conclusion.csb^SndResourceM:3)
  52.      SetName(Uintro)
  53.      SetComment()
  54. }
  55.  
  56.  
  57. ;  Engine Event Name: Play_Intro
  58. {SndEventM:0(EVT_SON_PLAY)
  59.      SetParam1(M_Intro_Conclusion.csb^SndResourceM:0)
  60.      SetStopable[ab](TRUE)
  61.      SetDynamic[ab](TRUE)
  62. }
  63.  
  64. ;  Engine Event Name: Stop_Intro
  65. {SndEventM:1(EVT_SON_STOP)
  66.      SetParam1(M_Intro_Conclusion.csb^SndEventM:0)
  67.      SetStopable[ab](TRUE)
  68.      SetDynamic[ab](TRUE)
  69. }
  70.  
  71.  
  72. ;  Engine Resource Name: Intro
  73. {SndResourceM:0
  74.      {SndResourceDisk:0(TYPE_THEME)
  75.           SetVolume(70)
  76.           SetDataOffset(0)
  77.           SetDataSize(0)
  78.           SetLoop[ab](TRUE)
  79.           SetStorage(TYPE_MEGAFILE)
  80.           SetNumberOfElements(3)
  81.           SetStartLoop(0)
  82.           SetNbMainLoop(0)
  83.      }
  84.      {SndThemePartListM:
  85.           {SndThemePartM:0
  86.                SetTransitionType(TRANSITION_ATENDOFPART)
  87.                LoadResource(M_Intro_Conclusion.csb^SndResourceM:3)
  88.           }
  89.           {SndThemePartM:1
  90.                SetStartLoop[ab](TRUE)
  91.                SetNumberOfLoops(1)
  92.                SetEndLoop[ab](TRUE)
  93.                SetTransitionType(TRANSITION_ATENDOFPART)
  94.                LoadResource(M_Intro_Conclusion.csb^SndResourceM:1)
  95.           }
  96.           {SndThemePartM:2
  97.                SetStartLoop[ab](TRUE)
  98.                SetNumberOfLoops(1)
  99.                SetEndLoop[ab](TRUE)
  100.                SetTransitionType(TRANSITION_ATENDOFPART)
  101.                LoadResource(M_Intro_Conclusion.csb^SndResourceM:2)
  102.           }
  103.      }
  104. }
  105.  
  106. ;  Engine Resource Name: Uintrolp
  107. {SndResourceM:1
  108.      {SndResourceDisk:1(TYPE_SAMPLE)
  109.           SetVolume(100)
  110.           SetDataOffset(0)
  111.           SetDataSize(397734)
  112.           SetFileName("Uintrolp.MPD")
  113.           SetLoop[ab](FALSE)
  114.           SetStorage(TYPE_MEGAFILE)
  115.           Flags[ab](FALSE,TRUE,TRUE,TRUE,FALSE,TRUE)
  116.           SetPitchable[ab](FALSE)
  117.           SetVolable[ab](TRUE)
  118.           SetPanable[ab](TRUE)
  119.           SetSpacable[ab](TRUE)
  120.           SetReverbable[ab](FALSE)
  121.           SetStreaming[ab](TRUE)
  122.           SetLoopData(0,0)
  123.           SetSampleFrequency(44100)
  124.           SetSampleChannelNumber(2)
  125.           SetSampleResolution(16)
  126.           SetZipFormat(SAMPLE_MPEG)
  127.      }
  128. }
  129.  
  130. ;  Engine Resource Name: Umag1b1
  131. {SndResourceM:2
  132.      {SndResourceDisk:2(TYPE_SAMPLE)
  133.           SetVolume(100)
  134.           SetDataOffset(0)
  135.           SetDataSize(398241)
  136.           SetFileName("Umag1b1.MPD")
  137.           SetLoop[ab](FALSE)
  138.           SetStorage(TYPE_MEGAFILE)
  139.           Flags[ab](FALSE,TRUE,TRUE,TRUE,FALSE,TRUE)
  140.           SetPitchable[ab](FALSE)
  141.           SetVolable[ab](TRUE)
  142.           SetPanable[ab](TRUE)
  143.           SetSpacable[ab](TRUE)
  144.           SetReverbable[ab](FALSE)
  145.           SetStreaming[ab](TRUE)
  146.           SetLoopData(0,0)
  147.           SetSampleFrequency(44100)
  148.           SetSampleChannelNumber(2)
  149.           SetSampleResolution(16)
  150.           SetZipFormat(SAMPLE_MPEG)
  151.      }
  152. }
  153.  
  154. ;  Engine Resource Name: Uintro
  155. {SndResourceM:3
  156.      {SndResourceDisk:3(TYPE_SAMPLE)
  157.           SetVolume(70)
  158.           SetDataOffset(0)
  159.           SetDataSize(10093631)
  160.           SetFileName("Uintro.MPD")
  161.           SetLoop[ab](FALSE)
  162.           SetStorage(TYPE_MEGAFILE)
  163.           Flags[ab](FALSE,TRUE,TRUE,TRUE,FALSE,TRUE)
  164.           SetPitchable[ab](FALSE)
  165.           SetVolable[ab](TRUE)
  166.           SetPanable[ab](TRUE)
  167.           SetSpacable[ab](TRUE)
  168.           SetReverbable[ab](FALSE)
  169.           SetStreaming[ab](TRUE)
  170.           SetLoopData(0,0)
  171.           SetSampleFrequency(44100)
  172.           SetSampleChannelNumber(2)
  173.           SetSampleResolution(16)
  174.           SetZipFormat(SAMPLE_MPEG)
  175.      }
  176. }
  177.  
  178.  
  179.